﻿<%@ WebHandler Language="C#" Class="Resoure" %>

using System;
using System.Web;

public class Resoure : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        HttpRequest q = context.Request;
        HttpResponse r = context.Response;

        r.Write(Ci123.getDataFromUrl(q["url"]));
    }

    public bool IsReusable
    {
        get { return false; }
    }

}